class LostWindow < Gosu::Window
  def initialize
    super(SCREEN_WIDTH, SCREEN_HEIGHT, false)
    self.caption = "EPIC WIN"
    @sng = Gosu::Song::new(self, "media/win.ogg")
    @sng.play
  end
  def button_down(id)
    if id == Gosu::Button::KbEscape
      close
    end
  end
  def draw
    @win = Gosu::Image.new(self, "media/win.png", false)
    @win.draw( 0, 0, ZOrder::Title )
  end
end
